home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / c / AmiVoGL_MDEV.lha / hershey / data / README < prev   
Text File  |  1991-05-13  |  3KB  |  78 lines

  1.  
  2. This directory contains the public domain Hershey font data, distributed on
  3. the USENET network. 
  4.  
  5. The Hershey Fonts were originally created by Dr. A. V. Hershey while
  6. working at the U. S. National Bureau of Standards.
  7.  
  8. The format of the Font data in this distribution
  9. was originally created by:
  10.             James Hurt
  11.             Cognition, Inc.
  12.             900 Technology Park Drive
  13.             Billerica, MA 01821
  14.             (mit-eddie!ci-dandelion!hurt)
  15.  
  16. The data is stored in the file hersh.oc, and the file hersh.or.  Each glyph
  17. in the font file is stored as a record.  For example, glyph 2 has the entry:
  18.  
  19.     2 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV
  20.  
  21. The first 5 characters are the glyph number (2), and the following 3 are the
  22. number of data pairs (16).  The remaining characters are (x,y) pairs, each
  23. character representing an x (or y) motion.  The characters are encoded
  24. relative to "R" which is zero (Q = -1, S = 1, etc).  The first pair is a
  25. left and right offset for proportional spacing.  The second pair is a move.
  26. The program takes a space in the x coordinate to mean that the next pen
  27. motion is a move.  Thus the line above encodes:
  28.  
  29. <glyph 2> <#pairs 16> 
  30. <spacing -5, 5>    (MW)
  31. (skip)  (-3,-5)    (OM)
  32. (draw)  (-3, 4)    (OV)
  33. <skip>  (-3,-5)    (OM)
  34. <draw>  ( 1,-5)    (SM)
  35. <draw>  ( 3,-4)    (UN)
  36. <draw>  ( 3,-2)    (UP)
  37. <draw>  ( 1,-1)    (SQ)
  38. <skip>  (-3,-1)    (OQ)
  39. <draw>  ( 1,-1)    (SQ)
  40. <draw>  ( 3, 0)    (UR)
  41. <draw>  ( 3, 3)    (UU)
  42. <draw>  ( 1, 4)    (SV)
  43. <draw>  (-3, 4)    (OV)
  44.  
  45. Note: some records contain new-lines whch should be ignored.
  46.  
  47. The Occidental Characters.
  48.  
  49. The file hersh.oc files contain approximately 19 different fonts in the
  50. A-Z alphabet plus greek and cyrillic, along with hundreds of special symbols,
  51. described generically below.
  52.  
  53. Symbols:
  54.         Mathematical (227-229,232,727-779,732,737-740,1227-1270,2227-2270,
  55.                         1294-1412,2294-2295,2401-2412)
  56.         Daggers (for footnotes, etc) (1276-1279, 2276-2279)
  57.         Astronomical (1281-1293,2281-2293)
  58.         Astrological (2301-2312)
  59.         Musical (2317-2382)
  60.         Typesetting (ffl,fl,fi sorts of things) (miscellaneous places)
  61.         Miscellaneous (mostly in 741-909, but also elsewhere):
  62.                 - Playing card suits
  63.                 - Meteorology
  64.                 - Graphics (lines, curves)
  65.                 - Electrical
  66.                 - Geometric (shapes)
  67.                 - Cartographic
  68.                 - Naval
  69.                 - Agricultural
  70.                 - Highways
  71.                 - Etc...
  72.  
  73. The Oriental Characters.
  74.  
  75.     The file hersh.or contains over 1000 Kanji, or Chinese characters,
  76. and the Japanese Hiragana and Katakana alphabets.
  77.  
  78.